﻿/**
 * Licensed under the MIT License
 *
 * Copyright (c) 2010 Alexandre Croiseaux
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 */
/**
 * @mxmlc -o apps/site/web/swf/fonts.swf
 *
 * CTRL+F8 to compile current file in FD
 */
package {
	import flash.text.Font;
	import flash.display.Sprite;
	import flash.text.FontStyle;

	public class Fonts extends Sprite
	{
		/*--------------------------------------------------------------------------
		
		Latin I + Latin etendu (482 chars)
		unicodeRange="U+0020-U+005c, U+005e-U+007e, U+20ac, U+201a, U+0192, U+201e, U+2026, U+2020-U+2021, U+02c6, U+2030, U+0160, U+2039, U+0152, U+017d, U+2018-U+2019, U+201c-U+201d, U+2022, U+2013-U+2014, U+02dc, U+2122, U+0161, U+203a, U+0153, U+017e, U+0178, U+00a1-U+00ff"
		
		Latin I + Latin etendu light (280 chars)
		unicodeRange="U+0020-U+005c, U+005e-U+005f, U+0061-U+007b, U+007d-U+007e, U+20ac, U+201a, U+201e, U+2026, U+02c6, U+2018-U+2019, U+201c-U+201d, U+2122, U+00a1, U+00a3, U+00a9, U+00ab, U+00ae, U+00b0, U+00b4, U+00b7, U+00bb, U+00bf-U+00cf, U+00d1-U+00d4, U+00d6, U+00d8-U+00dc, U+00df-U+00ef, U+00f1-U+00f4, U+00f6, U+00f8-U+00fc"
		
		0-9
		unicodeRange="U+002E, U+0030-U+0039"
		
		Majuscules A-Z
		unicodeRange="U+0020, U+0041-U+005A"
		
		Minuscules a-z
		unicodeRange="U+0020, U+0061-U+007A"
		
		Ponctuation
		unicodeRange="U+0020-U+002F, U+003A-U+0040, U+005B-U+0060, U+007B-U+007E, U+02C6-U+02C6, U+02DC-U+02DC, U+2013-U+2014, U+2018-U+201A, U+201C-U+201E, U+2020-U+2022, U+2026-U+2026, U+2030-U+2030, U+2039-U+203A, U+20AC-U+20AC, U+2122-U+2122"
		
		Caractères spéciaux
		€	U+20AC
		©	U+00A9
		®	U+00AE
		™	U+2122
		--------------------------------------------------------------------------*/
		
		
		
		[Embed(
				systemFont='Verdana',
				fontName='Verdana',
				mimeType='application/x-font',
				fontStyle=FontStyle.REGULAR,
				embedAsCFF="false",
				unicodeRange="U+0020-U+005c, U+005e-U+005f, U+0061-U+007b, U+007d-U+007e, U+20ac, U+201a, U+201e, U+2026, U+02c6, U+2018-U+2019, U+201c-U+201d, U+2122, U+00a1, U+00a3, U+00a9, U+00ab, U+00ae, U+00b0, U+00b4, U+00b7, U+00bb, U+00bf-U+00cf, U+00d1-U+00d4, U+00d6, U+00d8-U+00dc, U+00df-U+00ef, U+00f1-U+00f4, U+00f6, U+00f8-U+00fc"
			)
		]
		public static var VerdanaRegular:Class;
		
		[Embed(
				source='AccidentalPresidency.ttf',
				fontName='AccidentalPresidency',
				mimeType='application/x-font',
				fontStyle=FontStyle.BOLD,
				embedAsCFF="false",
				unicodeRange="U+0020-U+005c, U+005e-U+005f, U+0061-U+007b, U+007d-U+007e, U+20ac, U+201a, U+201e, U+2026, U+02c6, U+2018-U+2019, U+201c-U+201d, U+2122, U+00a1, U+00a3, U+00a9, U+00ab, U+00ae, U+00b0, U+00b4, U+00b7, U+00bb, U+00bf-U+00cf, U+00d1-U+00d4, U+00d6, U+00d8-U+00dc, U+00df-U+00ef, U+00f1-U+00f4, U+00f6, U+00f8-U+00fc"
			)
		]
		public static var AccidentalBold:Class;
		
		[Embed(
				source='ggsupersans.ttf',
				fontName='SuperScript',
				mimeType='application/x-font',
				fontStyle=FontStyle.REGULAR,
				embedAsCFF="false",
				unicodeRange="U+20AC, U+00A9"
			)
		]
		public static var Superscript:Class;
	}
}